import re
from typing import Dict


def render(template: str, vals: Dict[str, str]) -> str:
    return re.sub(r"{([A-Za-z]\w*)}", lambda match: str(vals[match[1]]), template)
